from math import sqrt
#while
i=2
while i<100:
    j=2
    k=sqrt(i)
    while j<k:
        if i%j==0:break
        j=j+1
    if j>k:
        print i
    i+=1
    